<?php
/**
 * Created by PhpStorm.
 * User: zgh
 * Date: 2021-08-04
 * Time: 14:41
 */

namespace app\admin\validate;


use app\common\exception\ServiceException;
use think\Validate;

class ConfigValidate extends Validate
{
    protected $rule = [
        'name|配置名' => 'require|max:25',
        'value|配置值' => 'require',
        'type|配置值类型' => 'require|in:0,1',
    ];

}